itemize... | <OPT F7> | ||
enumerate... | <SHF OPT F7> | ||
description... | <CTL OPT F7> | ||
thebibliography... | |||
slide | <OPT F8> | ||
overlay | <SHF OPT F8> | ||
note | <CTL OPT F8> | ||
figure | <OPT F9> | ||
table | <SHF OPT F9> | ||
tabular... | <CTL OPT F9> | ||
verbatim | <OPT F10> | ||
quote | <SHF OPT F10> | ||
quotation | <CTL OPT F10> | ||
verse | |||
center | <OPT F11> | ||
flushleft | <SHF OPT F11> | ||
flushright | <CTL OPT F11> | ||
general... | <OPT F12> |
One of the most useful of latex.tcl's many features is its ability to insert skeletal templates for multi-line environments (that is, LaTeX constructs delimited by a \begin...\end pair). These may be inserted anywhere in the document (even in the middle of a line), complete with tab stops and appropriate indentation. In some cases (like itemize), the user is asked to specify the number of rows desired, after which the program generates the corresponding environment body complete with indentation and tab stops. Some environment commands (like tabular) also prompt the user for the desired number of columns. There's even a general command for inserting user-defined environments on-the-fly.
The figure command deserves special mention. Choosing this command from the Environments submenu (or by pressing <OPT F9>) brings up a dialog with a pop-up menu of box-making macros, one for every macro name stored in the TeX mode variable boxMacroNames (see section 1.4.2). With the mouse or arrow keys, choose one of these macro names and click ``OK'' to insert the corresponding figure environment at the insertion point, or leave the text box blank to wrap a figure environment around the current selection (if there is one). If only one macro name is stored in boxMacroNames, the dialog is automatically circumvented and the figure environment is inserted at the insertion point without prompting.
Note: The Environments submenu seeks to mimic the corresponding command keys. Each group of environments on this submenu has been assigned a different function key, beginning with <F7>. The general environment, for instance, is bound to <OPT F12>. See section 3.1 for more information.